package com.bishe.demo.modules.hotel.hotel.service;

import com.bishe.demo.modules.common.entity.ResultEntity;
import com.bishe.demo.modules.hotel.hotel.entity.HotelOrder;

import java.util.List;

public interface HotelOrderService {
    int countHotelOrder(HotelOrder hotelOrder);

    ResultEntity<HotelOrder> insertHotelOrder(HotelOrder hotelOrder);

    List<HotelOrder> getHotelOrdersByUserId(int userId);
}
